package cn.have.handler;

import cn.have.entities.CommonResult;
import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * @ClassName CustomerBlockHandler
 * @Author 王新
 * @Date: 2022/2/1 11:11 星期二
 * @Version 1.0
 * @Description
 */

public class CustomerBlockHandler {
    public static CommonResult handleException(BlockException exception){
        return new CommonResult(2020,"自定义的限流处理信息......CustomerBlockHandler");
    }

    public static CommonResult handleException2(BlockException exception){
        return new CommonResult(2020,"自定义的限流处理信息2......CustomerBlockHandler2");
    }
}
